package com.ruoyi.flow;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;

@SpringBootApplication
@EntityScan(basePackages = {"com.ruoyi.flow.boot.myflow"})
/**
 * @ComponentScan(basePackages = "com.boot.demo.xxx.*.*")
 * 用于扫描@Controller @Service
 *
 *  @EnableJpaRepositories(basePackages = "com.boot.demo.xxx.*.dao")
 * 用于扫描Dao @Repository
 *
 * @EntityScan("com.boot.demo.xxx.*.*")
 * 用于扫描JPA实体类 @Entity
 */
public class MyFlowApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyFlowApplication.class,args);
    }
}
